package study.itheima.bean;

public class Stu {
    private String stuname;
    private int stuage;
    private int stuscore;

    public Stu() {
    }

    public Stu(String stuname, int stuage, int stuscore) {
        this.stuname = stuname;
        this.stuage = stuage;
        this.stuscore = stuscore;
    }

    @Override
    public String toString() {
        return stuname + "," + stuage + "," + stuscore;
    }

    public String getStuname() {
        return stuname;
    }

    public void setStuname(String stuname) {
        this.stuname = stuname;
    }

    public int getStuage() {
        return stuage;
    }

    public void setStuage(int stuage) {
        this.stuage = stuage;
    }

    public int getStuscore() {
        return stuscore;
    }

    public void setStuscore(int stuscore) {
        this.stuscore = stuscore;
    }
}
